package car.aistar.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * (CarRecord)实体类
 *
 * @author makejava
 * @since 2020-09-30 20:15:20
 */
public class CarRecord implements Serializable {
    private static final long serialVersionUID = 303752612727948847L;
    /**
     * 交易记录id
     */
    private Long id;
    /**
     * 买家id
     */
    private Long uId;
    /**
     * 车主id
     */
    private Long oId;
    /**
     * 销售员id
     */
    private Long sId;
    /**
     * 成交价格
     */
    private Double rePrice;
    /**
     * 底价
     */
    private Double cOprice;
    /**
     * 成交时间
     */
    private Date reTime;
    /**
     * 车id
     */
    private Long cId;
    /**
     * 车品牌名
     */
    private String brName;
    /**
     * 车系名
     */
    private String stName;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getuId() {
        return uId;
    }

    public void setuId(Long uId) {
        this.uId = uId;
    }

    public Long getoId() {
        return oId;
    }

    public void setoId(Long oId) {
        this.oId = oId;
    }

    public Long getsId() {
        return sId;
    }

    public void setsId(Long sId) {
        this.sId = sId;
    }

    public Object getRePrice() {
        return rePrice;
    }

    public void setRePrice(Double rePrice) {
        this.rePrice = rePrice;
    }

    public Object getcOprice() {
        return cOprice;
    }

    public void setcOprice(Double cOprice) {
        this.cOprice = cOprice;
    }

    public Date getReTime() {
        return reTime;
    }

    public void setReTime(Date reTime) {
        this.reTime = reTime;
    }

    public Long getcId() {
        return cId;
    }

    public void setcId(Long cId) {
        this.cId = cId;
    }

    public String getBrName() {
        return brName;
    }

    public void setBrName(String brName) {
        this.brName = brName;
    }

    public String getStName() {
        return stName;
    }

    public void setStName(String stName) {
        this.stName = stName;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("CarRecord{");
        sb.append("id=").append(id);
        sb.append(", uId=").append(uId);
        sb.append(", oId=").append(oId);
        sb.append(", sId=").append(sId);
        sb.append(", rePrice=").append(rePrice);
        sb.append(", cOprice=").append(cOprice);
        sb.append(", reTime=").append(reTime);
        sb.append(", cId=").append(cId);
        sb.append(", brName='").append(brName).append('\'');
        sb.append(", stName='").append(stName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}